<<<<<<< .mine
<!DOCTYPE html>
<html xmlns:fb="http://ogp.me/ns/fb#" lang="en">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />

        <title>Matfyz Game</title>
        <script> 
            if (navigator.appName == "Microsoft Internet Explorer"){
                alert("Internet Explorer nepodporuje WebGL. Pros\u00edm pou\u017eite Google Chrome, alebo in\u00fd norm\u00e1lny prehliada\u010D");
                document.execCommand('Stop');
            }
            if (navigator.appName == "Opera"){
                window.stop();
                document.execCommand('Stop');
                window.alert("Opera je retardovan\u00e1. Pros\u00edm pou\u017eite Google Chrome, alebo in\u00fd norm\u00e1lny prehliada\u010D");
                
            }
        </script>
        <!-- These are Open Graph tags.  They add meta data to your  -->
        <!-- site that facebook uses when your content is shared     -->
        <!-- over facebook.  You should fill these tags in with      -->
        <!-- your data.  To learn more about Open Graph, visit       -->
        <!-- 'https://developers.facebook.com/docs/opengraph/'       -->
        <meta property="og:title" content="Matfyz Game" />
        <meta property="og:type" content="website" />
        <meta property="og:url" content="fast-springs-7354.heroku.com" />
        <meta property="og:image" content="fast-springs-7354.heroku.com/pictures/logo.gif" />
        <meta property="og:site_name" content="Matfyz Game" />
        <meta property="og:description" content="Hra propagujuca matfyz" />
        <meta property="fb:app_id" content="313123382131986" />

        <script type="text/javascript" src="/javascript/jquery-1.7.1.min.js"></script>

        <link rel="stylesheet" href="gameStyle.css" type="text/css" />
        <!-- IvanK -->
        <script type="text/javascript" src="lib/ivank.js"></script>
        <!-- GameLoader -->
        <script type="text/javascript" src="core/imageLoader.js"></script>
        <!-- Types -->
        <script type="text/javascript" src="base/types.js"></script>
        <!-- LoadingFrame -->
        <script type="text/javascript" src="base/loadingFrame.js"></script>


    </head>
    <body>
        <div id="fb-root"></div>
        <script charset="utf-8" src="//connect.facebook.net/sk_SK/all.js"></script>
        <script charset="utf-8">
            FB.init({
                appId      : '313123382131986',
                channelUrl : '//fast-springs-7354.herokuapp.com/channel.html', // Channel File
                status     : true, // check login status
                cookie     : true, // enable cookies to allow the server to access the session
                xfbml      : true  // parse XFBML
            });
        </script>
        <div id="scripts" style="display: none;"></div>        
        <div id="MainContainer">
            <canvas id="canvas"></canvas>
            <script type="text/javascript">                
            FB.getLoginStatus(function(response) {
                if (response.status === 'connected') {
                    var stage = new Stage("canvas");
                    stage.stageHeight = MainContainerHeight;
                    stage.stageWidth = MainContainerWidth;
                    stage.height = MainContainerHeight;
                    stage.width = MainContainerWidth;
                    stage.x = 2;
                    stage.y = 48;
                    var game
                    var loadingFrame = new LoadingFrame (blue);
                    loadingFrame.init();
                    var imageLoader = new ImageLoader (loadingFrame);
                    stage.addChild (loadingFrame);
                    imageLoader.LoadAll();
                        
                    var ticks = 0;
                    var loadImagesFirst = setInterval (function (){
                        if (!imageLoader.isLoaded()){
                            loadingFrame.updateText (Math.floor(ticks/10)%4);
                            ticks++;
                        }
                        else{
                            clearInterval(loadImagesFirst);
                            imageLoader.addScripts("scripts");
                            loadGameAndPlayerName (imageLoader,loadingFrame,stage);
                        }
                    },50);
                } else {
                    FB.login(function(response) {
                        if (response.authResponse) {
                            window.location.reload();
                        } else {
                            history.back();
                        }
                    });
                }
            });
                
            var loadGameAndPlayerName = function (imgLoader,loadFrame,stg){
                var player;
                FB.api('/me', function(resp) {
                    player = resp;
                });
                var ticks = 0;    
                var game;
                var loadWithName = setInterval(function (){
                    if (player != undefined){
                        console.log("Meno nacitane! Pokracujeme!");
                        clearInterval (loadWithName);
                        game = new Game(player);
                        game.LoadBitmaps(imgLoader);
                        game.GameInitialize();
                        stg.addChild(game);
                        stg.removeChild(loadFrame);
                    }
                    else{
                        console.log("Meno zatial nenacitane!");
                        loadFrame.updateText (Math.floor(ticks/50)%4);
                        ticks++;
                    }   
                }, 10);
            }
            </script>
        </div>
        <div class="fb-like" data-href="https://apps.facebook.com/matfyzgame" data-send="false" data-width="450" data-show-faces="false"></div>
    </body>
</html>
=======
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        print 'kokot pica';
        ?>
    </body>
</html>
>>>>>>> .r36
